<template>
	<view class="content">
		<u-navbar
		:autoBack="true" bgColor="#fff"
		leftIconColor='#000'
		:titleStyle="{ color: '#000'}"
		 title="公司简介" rightText='' :border="false" :placeholder="true">
		 
		</u-navbar>
		<view class="row b-b">
			<text class="tit">公司名称</text>
			<text class="tiv">{{info.name}}</text>
		</view>
		<view class="row b-b">
			<text class="tit">公司简介</text>
			<text class="tiv">{{info.remark}}</text>
		</view>
		<view class="row b-b">
			<text class="tit">联系人</text>
			<text class="tiv">{{info.contactor}}</text>
		</view>
		<view class="row b-b">
			<text class="tit">联系电话</text>
			<text class="tiv">{{info.telephone}}</text>
		</view>
		<view class="row b-b">
			<text class="tit">邮箱</text>
			<text class="tiv">{{info.email}}</text>
		</view>
		
 	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:{},
			}
		},
		onShow() {
			this.getDetail()
		},
		methods: {
			getDetail(){
				let that = this
				this.$api.request('get', `labour/app/1`).then(res => {
				 console.log(res.data,'res')
				 this.info = res.data
				}).catch(err => {
				  that.$api.msg('请求失败，请稍后再试')
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background: $page-color-base;
		padding-top: 16upx;
	}

	.row{
		display: flex;
		align-items: center;
		position: relative;
		padding:0 30upx;
		height: 110upx;
		background: #fff;
		
		.tit{
			flex-shrink: 0;
			width: 120upx;
			font-size: 30upx;
			color: $font-color-dark;
		}
		.tiv{
			flex: 1;
			font-size: 30upx;
			color: #aaaaaa;
			text-align: right;
		}
		
	}
	
	.tcp{
		width: 100%;
		font-size: 28upx;
		color: #aaaaaa;
		text-align: center;
		position: absolute;
		bottom: 200upx;
	}
	
	
	
</style>
